"""
Module documentation
"""
spam = 40

def zhishu(y):
    """
    function documentation
    :param y:
    :return:
    """
    global yy
    yy = 100
    x = y // 2
    while x > 1:
        if y % x == 0:
            print(y, 'has factor', x)
            break
        x -= 1
    else:
        print(y, 'is prime')

class Employee:
    """
    class documentation
    """
    pass

zhishu(4)


print(yy)
